#define  _CRT_SECURE_NO_WARNINGS
#include "list.h"

int main()
{
	jc::list<int> l;
	l.push_back(1);
	l.push_back(2);
	l.push_back(3);
	l.push_back(4);
	//l.insert(l.begin(), 9);
	//cout << l.Get_size() << endl;

	jc::list<int>::iterator it = l.begin();
	while (it != l.end())
	{
		cout << *it << " ";
		++it;
	}
	//cout << endl;

	//jc::list<int> l1;
	//l1 = l;
	//for (auto c : l1)
	//{
	//	cout << c << " ";
	//}


	return 0;
}